﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<Excell_On_Services.ViewModels.ClientModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	 <script src="../../Scripts/jquery-datepicker.js" type="text/javascript"></script>
     <script type="text/javascript">
         $(function() {
             $(".datePicker").datepicker({ showOn: 'both', buttonImage: "/images/calendar.gif" });
         });
     </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p class="mc_title">Managerment Company</p>
    <div class="content-box"><!-- Start Content Box -->
        <div class="content-box-header">
            <p>Edit</p>
            <div>
                <%: Html.ActionLink("Back to List", "Index") %>
            </div>
        </div>
        <div class="content-box-content">
			<div class="tab-content default-tab" id="tab1">

            <% Html.EnableClientValidation(); %> 
            <% using (Html.BeginForm()) {%>
                <%: Html.ValidationSummary(true) %>
                <table cellpadding="5" id="add_new_item" width="80%">
                        <tbody>
                            <tr>
                                <td></td>
                                <td><%: Html.HiddenFor(model => model.ClientID) %></td>
                            </tr>
                            <tr>
                                <td class="ani_text" width="20%"><%: Html.LabelFor(model => model.CompanyName) %></td>
                                <td>
                                    <%: Html.LabelFor(model => model.CompanyName) %>
                                    <%: Html.ValidationMessageFor(model => model.CompanyName) %>
                                </td>
                            </tr>
                            <tr>
                                <td class="ani_text" width="20%"><%: Html.LabelFor(model => model.CompanyName) %></td>
                                <td><%: Html.TextBoxFor(model => model.CompanyName) %>
                                    <%: Html.ValidationMessageFor(model => model.CompanyName) %>
                                </td>
                            </tr>
                            <tr>
                                <td class="ani_text"><%: Html.LabelFor(model => model.Address) %></td>
                                <td>
                                    <%: Html.TextBoxFor(model => model.Address) %>
                                    <%: Html.ValidationMessageFor(model => model.Address) %>
                                </td>
                            </tr>
                            <tr>
                                <td class="ani_text"><%: Html.LabelFor(model => model.Phone)%></td>
                                <td><%: Html.TextBoxFor(model => model.Phone)%>
                                    <%: Html.ValidationMessageFor(model => model.Phone)%>
                                </td>
                            </tr>
                            <tr>
                                <td class="ani_text"><%: Html.LabelFor(model => model.Email)%></td>
                                <td><%: Html.TextBoxFor(model => model.Email)%>
                                    <%: Html.ValidationMessageFor(model => model.Email)%>
                                </td>
                            </tr>
                            <tr>
                                <td ><%: Html.LabelFor(model => model.IsLock)%></td>
                                <td align="left"><%: Html.CheckBoxFor(model => model.IsLock)%>
                                    <%: Html.ValidationMessageFor(model => model.IsLock)%>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2"><%: Html.LabelFor(model => model.ProductDescription)%></td>
                            </tr>
                            <tr>
                                
                                <td colspan="2"><%: Html.TextAreaFor(model => model.ProductDescription)%>
                                    <%: Html.ValidationMessageFor(model => model.ProductDescription)%>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2"><%: Html.LabelFor(model => model.Description)%></td>
                            </tr>
                            <tr>
                                <td colspan="2"><%: Html.TextAreaFor(model => model.Description)%>
                                    <%: Html.ValidationMessageFor(model => model.Description)%>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2"><input type="submit" value="Apply" class="button" /></td>
                            </tr>
                        </tbody>
                    </table>
            <% } %>
            </div>
        </div>
    </div>

</asp:Content>

